inherited dtmcj_ClassTeamSet: Tdtmcj_ClassTeamSet
  OldCreateOrder = True
  Left = 662
  Top = 337
  Height = 311
  Width = 443
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from V_cj_ClassTeamSet'
    object adsMasterID: TIntegerField
      FieldName = 'ID'
    end
    object adsMasterRuleID: TStringField
      DisplayLabel = #35268#21017'ID'
      FieldName = 'RuleID'
    end
    object adsMasterRuleCode: TStringField
      DisplayLabel = #35268#21017#32534#30721
      FieldName = 'RuleCode'
      Size = 10
    end
    object adsMasterRuleName: TStringField
      DisplayLabel = #35268#21017#21517#31216
      FieldName = 'RuleName'
      Size = 50
    end
    object adsMasterFinanceID: TStringField
      DisplayLabel = #36130#21153#26399#38388'ID'
      FieldName = 'FinanceID'
    end
    object adsMasterFinanceCode: TStringField
      DisplayLabel = #36130#21153#26399#38388#32534#30721
      FieldName = 'FinanceCode'
    end
    object adsMasterFinanceName: TStringField
      DisplayLabel = #36130#21153#26399#38388#21517#31216
      FieldName = 'FinanceName'
      Size = 30
    end
    object adsMasterClassTime: TDateTimeField
      DisplayLabel = #29677#27425#26085#26399
      FieldName = 'ClassTime'
    end
    object adsMasterTeamID: TStringField
      DisplayLabel = #29677#21035'ID'
      FieldName = 'TeamID'
    end
    object adsMasterTeamCode: TStringField
      DisplayLabel = #29677#21035#32534#30721
      FieldName = 'TeamCode'
      Size = 10
    end
    object adsMasterTeamName: TStringField
      DisplayLabel = #29677#21035
      FieldName = 'TeamName'
    end
    object adsMasterGroupID: TStringField
      DisplayLabel = #32452#21035'ID'
      FieldName = 'GroupID'
    end
    object adsMasterGroupName: TStringField
      DisplayLabel = #32452#21035
      FieldName = 'GroupName'
      Size = 30
    end
    object adsMasterMachineID: TStringField
      DisplayLabel = #32455#26426'ID'
      FieldName = 'MachineID'
    end
    object adsMasterMachineCode: TStringField
      DisplayLabel = #32455#26426#21495
      FieldName = 'MachineCode'
    end
    object adsMasterEmpID: TStringField
      DisplayLabel = #24037#21495
      FieldName = 'EmpID'
    end
    object adsMasterEmpName: TStringField
      DisplayLabel = #22995#21517
      FieldName = 'EmpName'
    end
    object adsMasterBeginTime: TDateTimeField
      DisplayLabel = #24320#22987#26102#38388
      FieldName = 'BeginTime'
    end
    object adsMasterEndTime: TDateTimeField
      DisplayLabel = #32467#26463#26102#38388
      FieldName = 'EndTime'
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from cj_ClassTeamSet'
    object adsMasterEditID: TIntegerField
      FieldName = 'ID'
    end
    object adsMasterEditRuleID: TStringField
      DisplayLabel = #35268#21017'ID'
      FieldName = 'RuleID'
      OnChange = adsMasterEditClassTimeChange
    end
    object adsMasterEditFinanceID: TStringField
      DisplayLabel = #36130#21153#26399#38388'ID'
      FieldName = 'FinanceID'
    end
    object adsMasterEditClassTime: TDateTimeField
      DisplayLabel = #29677#27425#26085#26399
      FieldName = 'ClassTime'
      OnChange = adsMasterEditClassTimeChange
    end
    object adsMasterEditTeamID: TStringField
      DisplayLabel = #29677#21035'ID'
      FieldName = 'TeamID'
      OnChange = adsMasterEditClassTimeChange
    end
    object adsMasterEditGroupID: TStringField
      DisplayLabel = #32452#21035'ID'
      FieldName = 'GroupID'
    end
    object adsMasterEditMachineID: TStringField
      DisplayLabel = #32455#26426'ID'
      FieldName = 'MachineID'
    end
    object adsMasterEditEmpID: TStringField
      DisplayLabel = #24037#21495
      FieldName = 'EmpID'
    end
    object adsMasterEditEmpID2: TStringField
      DisplayLabel = #24037#21495'2'
      FieldName = 'EmpID2'
    end
    object adsMasterEditEmpID3: TStringField
      DisplayLabel = #24037#21495'3'
      FieldName = 'EmpID3'
    end
    object adsMasterEditBeginTime: TDateTimeField
      DisplayLabel = #24320#22987#26102#38388
      FieldName = 'BeginTime'
    end
    object adsMasterEditEndTime: TDateTimeField
      DisplayLabel = #32467#26463#26102#38388
      FieldName = 'EndTime'
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
    end
    object adsMasterEditres_RuleCode: TStringField
      DisplayLabel = #35268#21017#32534#30721
      FieldKind = fkLookup
      FieldName = 'res_RuleCode'
      LookupDataSet = res_ClassRule
      LookupKeyFields = 'RuleID'
      LookupResultField = 'RuleCode'
      KeyFields = 'RuleID'
      Lookup = True
    end
    object adsMasterEditres_RuleName: TStringField
      DisplayLabel = #35268#21017#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_RuleName'
      LookupDataSet = res_ClassRule
      LookupKeyFields = 'RuleID'
      LookupResultField = 'RuleName'
      KeyFields = 'RuleID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_TeamName: TStringField
      DisplayLabel = #29677#21035
      FieldKind = fkLookup
      FieldName = 'res_TeamName'
      LookupDataSet = res_TeamClass
      LookupKeyFields = 'TeamID'
      LookupResultField = 'TeamName'
      KeyFields = 'TeamID'
      Lookup = True
    end
    object adsMasterEditres_MachineNo: TStringField
      DisplayLabel = #32455#26426#21495
      FieldKind = fkLookup
      FieldName = 'res_MachineNo'
      LookupDataSet = res_MachineNo
      LookupKeyFields = 'ID'
      LookupResultField = 'Code'
      KeyFields = 'MachineID'
      Lookup = True
    end
    object adsMasterEditres_EmpName: TStringField
      DisplayLabel = #22995#21517
      FieldKind = fkLookup
      FieldName = 'res_EmpName'
      LookupDataSet = res_Employee
      LookupKeyFields = 'EmpID'
      LookupResultField = 'EmpName'
      KeyFields = 'EmpID'
      Lookup = True
    end
    object adsMasterEditres_EmpName2: TStringField
      DisplayLabel = #22995#21517'2'
      FieldKind = fkLookup
      FieldName = 'res_EmpName2'
      LookupDataSet = res_Employee
      LookupKeyFields = 'EmpID'
      LookupResultField = 'EmpName'
      KeyFields = 'EmpID2'
      Lookup = True
    end
    object adsMasterEditres_EmpName3: TStringField
      DisplayLabel = #22995#21517'3'
      FieldKind = fkLookup
      FieldName = 'res_EmpName3'
      LookupDataSet = res_Employee
      LookupKeyFields = 'EmpID'
      LookupResultField = 'EmpName'
      KeyFields = 'EmpID3'
      Lookup = True
    end
  end
  object res_TeamClass: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select * from V_cj_TeamClass'
    Parameters = <>
    Left = 168
    Top = 40
  end
  object res_Employee: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select EmpID, EmpName from V_da_Employee'
    Parameters = <>
    Left = 168
    Top = 96
  end
  object res_ClassRule: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select * from V_cj_ClassRule'
    Parameters = <>
    Left = 296
    Top = 40
  end
  object ads_FinancePeriod: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 
      'select FinanceID, FinanceCode, FinanceName from V_cw_FinancePeri' +
      'odTree where isnull(HasStop,0)=0'#13#10'order by FinanceCode'
    Parameters = <>
    Left = 168
    Top = 160
  end
  object res_MachineNo: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Code from V_da_MachineNO'
    Parameters = <>
    Left = 304
    Top = 160
  end
end
